package com.cuijq.dubbo.core.config;

import io.netty.bootstrap.Bootstrap;
import io.netty.channel.nio.NioEventLoopGroup;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ClientConfig {
    @Bean
    public Bootstrap bootstrap() {
        return new Bootstrap();
    }
    @Bean
    public NioEventLoopGroup clientWorker() {
        return new NioEventLoopGroup();
    }
}